<include file="Public:header" />
			<include file="Public:menu" />
			<div id="right">
				<div class="top"></div>
				<div class="app_right_banner">
					<div class="app_face">
						<img src="__PUBLIC__/Uploads/face/small/{$userInfo['faceimg']}"/>
					</div>
					<div class="app_userinfo">
						<p class="app_module">群组</p>
						<p class = "app_module_back"><a href="__APP__/user">返回我的空间</a></p>
					</div>
				</div>
				<div class="app_right_menu">
					<div class="arm_1">
						群组最新话题
					</div>
					<div class="arm_2">
						<a href="__APP__/groups/{$userInfo['id']}">我的群组</a>					
					</div>
					<div class="arm_2">
						<a href="__APP__/groups">所有群组</a>					
					</div>
				</div>
				<div class="app_right_count">
					<php>if(isset($_GET["u"])){</php>
						<a href="__URL__/">最新讨论的主题</a> 
						|
						<span class="strong">最新我发起的主题</span>
					<php>}else{</php>
						<span class="strong">最新讨论的主题</span>
						|
						<a href="__URL__/index/u/{$userInfo['id']}">最新我发起的主题</a>
					<php>}</php>
					
				</div>
				<div class="groupbody">
					<table class="topiclisttable">
						<tbody>
							<tr>
								<th class="title">主题</th>
								<th class="author">群组</th>
								<th class="author">作者<br/>回复数</th>
								<th class="review">最后发言</th>
							</tr>
							<volist name="list" id="topic">
							<tr>
								<td class="title">
									<a href="__APP__/showtopic/{$topic['id']}">{$topic['title']}</a>
								</td>
								<td class="author">
									<a href="__APP__/showgroup/{$topic['groupid']}">{$topic['groupid']|getField="groups","name",###}</a>
								</td>
								<td class="author">
									<a href="__APP__/home/{$topic['userid']}">{$topic['userid']|getUsernameByUserid}</a><br/>{$topic['revertnum}
								</td>
								<td class="review">
									<a href="__APP__/home/{$topic['lastuserid']}">{$topic['lastuserid']|getUsernameByUserid}</a>
									<br/>
									{$topic['lastreverttime']|toDate}
								</td>
							</tr>
							</volist>
						</tbody>
					</table>
				</div>
			</div>
<include file="Public:footer" />